package com.wjw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @author WuJianWei
 * @date 2022/3/3 9:06
 */
/**
    * 商家表
    */
@Data
@TableName(value = "business")
public class Business implements Serializable {
    /**
     * id
     */
    @TableId(value = "business_id")
    private Long businessId;

    /**
     * 商家名称
     */
    @TableField(value = "business_name")
    private String businessName;

    /**
     * 电话号码
     */
    @TableField(value = "business_phone")
    private String businessPhone;
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;

    private static final long serialVersionUID = 1L;

    public static final String COL_BUSINESS_ID = "business_id";

    public static final String COL_BUSINESS_NAME = "business_name";

    public static final String COL_BUSINESS_PHONE = "business_phone";
}